package com.niit.cms.entity;

import java.io.Serializable;

/**
 * (MyCourse)实体类
 *
 * @author makejava
 * @since 2022-06-28 10:55:41
 */
public class MyCourse implements Serializable {
    private static final long serialVersionUID = 485421651484812112L;
    /**
     * 用户id
     */
    private Integer uid;

    private String username;

    private Userinfo userinfo;
    /**
     * 课程id
     */
    private Integer courseId;

    private String courseName;

    private Course course;
    /**
     * 成绩
     */
    private Integer mark;
    /**
     * 状态为0表示未结课，状态为1表示已结课
     */
    private Integer state;
    /**
     * 课程反馈
     */
    private String feedback;
    /**
     * 课程进度
     */
    private Object courseProcess;


    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getMark() {
        return mark;
    }

    public void setMark(Integer mark) {
        this.mark = mark;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getFeedback() {
        return feedback;
    }

    public void setFeedback(String feedback) {
        this.feedback = feedback;
    }

    public Object getCourseProcess() {
        return courseProcess;
    }

    public void setCourseProcess(Object courseProcess) {
        this.courseProcess = courseProcess;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Userinfo getUserinfo() {
        return userinfo;
    }

    public void setUserinfo(Userinfo userinfo) {
        this.userinfo = userinfo;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    @Override
    public String toString() {
        return "MyCourse{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", courseId=" + courseId +
                ", courseName='" + courseName + '\'' +
                ", mark=" + mark +
                ", state=" + state +
                ", feedback='" + feedback + '\'' +
                ", courseProcess=" + courseProcess +
                '}';
    }
}

